const dep = new Dep();

autorun(() => {
  dep.depend();
  console.log('updated');
});
// should log: "updated"

dep.notify();
// should log: "updated"
